/**
 * @file LibCodeRelease.h
 */

#pragma once
#include "Tools/Function.h"
#include "Tools/Math/Eigen.h"

STREAMABLE(LibCodeRelease,
{
  FUNCTION(bool(float value, float min, float max)) between,

  (float) angleToGoal,
  (int) timeSinceBallWasSeen,
  (float) angleToCenter,//add by BLB
  (unsigned int)(0)  whistleTime,
  /*(float) angleToPenaltyPoint,
  (float) angleToOpponentKeeperLeft,
  (float) angleToOpponentKeeperRight,
  (float) angleToBall,
  (float) angleToStrikerLeft,
  (float) angleToStrikerRight,
  (float) angleToDoor,
  (float) distanceToOpponentKeeperLeft,
  (float) distanceToOpponentKeeperRight,
  (float) distanceToStrikerLeft,
  (float) distanceToStrikerRight,*/
  (float) odometryRSum,
  (float) odometryXSum,
  (float) odometryYSum,

//the following is added by BLB,2019.4.7
//  (float) angleToStriker,
//  (float) angleToSupporter,
//  (float) distanceToGoal,
//  (float) distanceToStriker,
//  (float) distanceToSupporter,
//  (float) distanceToGoalfromStriker,
//  (float) distanceToGoalfromSupporter,
  (bool) StrikerStatus = false,
  (bool) SupporterStatus = false,
});
